cmake_minimum_required(VERSION 3.5)

project(lidar209_msgs)



# Default to C++14
if(NOT CMAKE_CXX_STANDARD)
    set(CMAKE_CXX_STANDARD 14)
endif()

if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
    add_compile_options(-Wall -Wextra -Wpedantic)
endif()

find_package(ament_cmake REQUIRED)
find_package(builtin_interfaces REQUIRED)
find_package(rosidl_default_generators REQUIRED)
find_package(std_msgs REQUIRED)



rosidl_generate_interfaces(${PROJECT_NAME}
    "msg/Lidar209Packet.msg"
    "msg/Lidar209Scan.msg"
    "msg/Lidar209Status.msg"
    "msg/Lidar209PacketCH72.msg"
    "msg/Lidar209ScanCH72.msg"
    "msg/Lidar209StatusCH72.msg"
    "msg/Lidar209PacketCH88.msg"
    "msg/Lidar209ScanCH88.msg"
    "msg/Lidar209StatusCH88.msg"
    "msg/Lidar209StatusCH176.msg"
    DEPENDENCIES std_msgs
    DEPENDENCIES builtin_interfaces
    ADD_LINTER_TESTS
)

ament_export_dependencies(rosidl_default_runtime)

ament_package()
